/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.star.common;

/**
 *
 * @author Administrator
 */
public class Re_Post_Profile_Data {
    String id;
    String idPost;
    String idProfile;    
    long created;
    
    public Re_Post_Profile_Data(){
        idPost = "";
        idProfile = "";
        created = 0;                
    }
    
    // contructor for add new
    public Re_Post_Profile_Data(String idPost, String idProfile){        
        this.idPost = idPost;
        this.idProfile = idProfile;
        this.created = System.currentTimeMillis();
    }
    
    public Re_Post_Profile_Data(String id, String idPost, String idProfile){
        this.id = id;
        this.idPost = idPost;
        this.idProfile = idProfile;
    }
    
    public Re_Post_Profile_Data(String id, String idPost, String idProfile, long created){
        this.id = id;
        this.idPost = idPost;
        this.idProfile = idProfile;
        this.created = created;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdPost() {
        return idPost;
    }

    public void setIdPost(String idPost) {
        this.idPost = idPost;
    }

    public String getIdProfile() {
        return idProfile;
    }

    public void setIdProfile(String idProfile) {
        this.idProfile = idProfile;
    }

    public long getCreated() {
        return created;
    }

    public void setCreated(long created) {
        this.created = created;
    }
}
